Remove 'netbuf race' debug output - we get tons of these for ballooned
authorSteven Hand <steven@xensource.com>
Fri, 29 Dec 2006 13:00:08 +0000 (13:00 +0000)
committerSteven Hand <steven@xensource.com>
Fri, 29 Dec 2006 13:00:08 +0000 (13:00 +0000)
down domains, and there's no way for us to distinguish that from the
(transient) case of network buffers.

Also tidy up comment.

Signed-off-by: Steven Hand <steven@xensource.com>
tools/libxc/xc_linux_save.c

index 6b6c328a8b28c6d6b3b211e2cd955a9cf11299d6..44dba99cd5b8137f7a682ce16471f0471235bc84 100644 (file)
@@ -915,14 +915,14 @@ int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
 
                 if(!is_mapped(pfn_type[batch])) {
 
-                    /* not currently in pusedo-physical map -- set bit
-                       in to_fix that we must send this page in last_iter
-                       unless its sent sooner anyhow */
+                    /*
+                    ** not currently in psuedo-physical map -- set bit
+                    ** in to_fix since we must send this page in last_iter
+                    ** unless its sent sooner anyhow, or it never enters
+                    ** pseudo-physical map (e.g. for ballooned down domains)
+                    */
 
                     set_bit(n, to_fix);
-                    if( (iter > 1) && IS_REAL_PFN(n) )
-                        DPRINTF("netbuf race: iter %d, pfn %x. mfn %lx\n",
-                                iter, n, pfn_type[batch]);
                     continue;
                 }